home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga CD-ROM Collection
/
Amiga CD-ROM Collection - Auge 4000 and Cactus and Demo Util.iso
/
auge4000
/
46
/
lib
/
fd
/
mkdir.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-06-20
|
218b
|
22 lines
/*
* MKDIR.C
*/
#include <libraries/dos.h>
#include <errno.h>
int
mkdir(fileName)
const char *fileName;
{
BPTR lock;
if (lock = CreateDir(fileName)) {
UnLock(lock);
return(0);
}
return(-1);
}